class point{
int x,y;
point(int a,int b){
x=a;
y=b;
}
}
public class test{
public static void main(String args[]){
point p1,p2;
p1=new point(10,10);
p2=new point(20,30);
System.out.println(p1==p2);
p1=p2;
System.out.println(p1==p2);
}
}
